package com.moweilin.mo_gateway.handlers;

import java.util.Date;

/**
 * Created by moweilin on 2017/2/21.
 */
public class Module {

    private String name;
    private String virtualHost;
    private String moduleHost;
    private int port;
    private boolean enable;
    private Date start;
    private Date modified;

    public Module(String virtualHost,String name,  String moduleHost) {
        this.name = name;
        this.virtualHost = virtualHost;
        this.moduleHost = moduleHost;
    }

    public Module() {
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setVirtualHost(String virtualHost) {
        this.virtualHost = virtualHost;
    }

    public void setModuleHost(String moduleHost) {
        this.moduleHost = moduleHost;
    }

    public String getVirtualHost() {
        return virtualHost;
    }


    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public String getName() {
        return name;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public String getModuleHost() {
        return moduleHost;
    }


}
